﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Ivy.Common.Framework.Base;
using System.Runtime.Serialization;

namespace Ivy.SiteAdmin.Entity
{
    [Serializable]
    [DataContract]
    public class UserContentRating
    {
        #region  Variable & constant
        Int32 lContentRatingKey = -1;
        Int32 lAvrageRating = -1;
        Int32 lTotalVotes = -1;

        #endregion  Variable & constant

        #region Constructor & Destructor
        #endregion Constructor & Destructor

        #region Properties
        [DataMember]
        public Int32 ContentRatingKey
        {
            get
            {
                return lContentRatingKey;
            }
            set
            {
                lContentRatingKey = value;

            }
        }

        [DataMember]
        public Int32 AvrageRating
        {
            get
            {
                return lAvrageRating;
            }
            set
            {
                lAvrageRating = value;

            }
        }

        [DataMember]
        public Int32 TotalVotes
        {
            get
            {
                return lTotalVotes;
            }
            set
            {
                lTotalVotes = value;

            }
        }
        #endregion Properties

        #region Public Methods
        #endregion Public Methods

        #region Events
        #endregion Events

        #region Private Methods
        #endregion Private Methods
    }
}
